<template>
  <div class="add-rule-home">
    <div class="header star">您可以设置HR在添加待入职、添加员工时需要填写的员工信息、必填的员工信息。比如您可以设置HR添加员工时，员工的证件号码必须录入。</div>
    <div class="cart-list">
      <!-- <div class="cart-item">
        <div class="item-detail">
          <img src="@/assets/images/header/sp.png" alt />
          <h3>添加待入职</h3>
          <p>设置「添加待入职人员」页面的字段信息、是否必填以及排序</p>
        </div>
      </div> -->
      <div class="cart-item" @click="toNew">
        <div class="item-detail">
          <img src="@/assets/images/header/sp.png" alt />
          <h3>添加员工</h3>
          <p>设置「添加员工」页面的字段信息、是否必填以及排序</p>
        </div>
      </div>
      <!-- <div class="cart-item">
        <div class="item-detail">
          <img src="@/assets/images/header/sp.png" alt />
          <h3>确认入职</h3>
          <p>设置「确认入职」页面的字段信息、是否必填以及排序</p>
        </div>
      </div> -->
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
      toNew(){
          this.$router.push("/company-settings/add-rule/detail?type=1")
      }
  },
};
</script>
<style lang="scss" scoped src='./index.scss'>
</style>